package com.atguign.gulimall.order.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @program: gulimall
 * @description: 会员
 * @author: liuxvru
 * @create: 2024-02-19 17:30
 **/
@FeignClient("gulimall-product")
public interface ProductFeifnService {
    @GetMapping("/product/spuinfo/getSpuInfoBySkuId/{skuId}")
    //@RequiresPermissions("product:spuinfo:list")
    R getSpuInfoBySkuId(@PathVariable("skuId") Long skuId);
}
